package com.java.Impl;

import com.java.it.Order;
import com.java.stock.Stock;

public class BuyStock implements Order {
    private Stock abcStock;

    public BuyStock(Stock abcStock) {
        this.abcStock = abcStock;
    }


    public void execute() {
        abcStock.buy();
    }
}
